#pragma once

#include "BaseMessage.h"

class CCheckAccountRet
	: public BaseMessage
{
public:
	CCheckAccountRet(uint32_t uid, uint32_t pn);
	~CCheckAccountRet(void);

public:
	//---------------------------------------------------------------------------
	static BaseMessage* Create(uint32_t uid, uint32_t pn)
	{
		return new CCheckAccountRet(uid, pn);
	}

public:
	virtual void HandleMessage(Player* pplayer) override final
	{}

	void Clear();

	void SetJsonData(const char* key, uint16_t val);
	void SetJsonData(const char* key, int16_t val);
	void SetJsonData(const char* key, uint32_t val);
	void SetJsonData(const char* key, int32_t val);
	void SetJsonData(const char* key, std::string val);
	void SetJsonData(const char* key, double val);

};